package com.lovo.csc.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(name = "csc")
public interface IAuditService {

    /**
     * 修改供货订单状态
     * @param vendorOrderCode 供货订单编号
     * @param state 状态
     * @param updateName 修改人
     */
    @PutMapping("vendororder/updateOrderState/{vendorOrderCode}/{state}/{updateName}")
    public void updateOrderState(@PathVariable("vendorOrderCode") String vendorOrderCode,
                                   @PathVariable("state") String state,
                                   @PathVariable("updateName") String updateName);
}
